import { createApp } from "vue";
import App from "./App.vue";
import router from "./router/index";
import store from "./store/index";
import axios from "axios";
import VueAxios from "vue-axios";

import SvgIcon from "@/assets/icons/index";
import "@/styles/commons.less";
// 注册自己的组件
import WALL from "@/components/wall/index";

const app = createApp(App);
SvgIcon(app);

app.use(WALL);
app.use(VueAxios, axios);
app.provide("axios", app.config.globalProperties.axios);
app.use(router);
app.use(store);
app.mount("#app");
